<?php
namespace app\bancard\controller;
use think\facade\Cache;
use app\common\validate\ScheduleValidate;
use app\bancard\model\CurriculumSchedule as ScheduleModel;
class Schedule extends Common {
	
	//首页
	public function index(){
		$egetClass = $this->getClass();
		$this->assign('egetClass', json_encode($egetClass['data']));
		return $this->fetch();
	}

	public function timetable(){
        $data = request()->param();
        $res = $this->get_classes_course($data['basicData']);
        $this->assign('result',$res);
		return $this->fetch();
	}
}